package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface MemberMapper {

    @Select("select * from member where open_id=#{openid}")
    Member findByOpenid(String openid);

    void add(Member member);
    void update(Member member);
}
